//
//  BaseNavigationVC.m
//  YJJ0
//
//  Created by dadaxueche on 16/7/11.
//  Copyright © 2016年 王—wagn. All rights reserved.
//

#import "BaseNavigationVC.h"

@implementation BaseNavigationVC

#pragma mark - 多个scrollview 的滑动返回,add by henrik

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
{
    return YES;
}

- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldBeRequiredToFailByGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
{
    return [gestureRecognizer isKindOfClass:UIScreenEdgePanGestureRecognizer.class];
}

-(void)viewDidLoad{
    [super viewDidLoad];
    
    [[UINavigationBar appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:TitleFont, NSFontAttributeName,MeetOrange,NSForegroundColorAttributeName,nil]];
    [[UINavigationBar appearance] setTintColor:MeetOrange];
}
@end
